Skip to content

Move interface/enum family out-of-line into MLIRGenInterfaces.cpp (§1)#225

Merged
ASDAlexander77 merged 1 commit into
mainfrom
refactor/split-interfaces-enums
Jul 13, 2026
Merged

Move interface/enum family out-of-line into MLIRGenInterfaces.cpp (§1)#225
ASDAlexander77 merged 1 commit into
mainfrom
refactor/split-interfaces-enums

Conversation

@ASDAlexander77

Copy link
Copy Markdown
Owner

Summary

§1 TU split continues — same pattern as #217#224.

12 methods move from MLIRGenImpl.h into a new MLIRGenInterfaces.cpp TU: mlirGen(EnumDeclaration), both mlirGenInterfaceInfo overloads, mlirGenInterfaceHeritageClauseExtends, mlirGen(InterfaceDeclaration), mlirGenInterfaceAddFieldMember (default arg preserved on declaration), mlirGenInterfaceMethodMember, registerGenericInterface, mlirGenCreateInterfaceVTableForObject, mlirGenObjectVirtualTableDefinitionForInterface, and the shared getNameForMethod/getMethodNameOrPropertyName helpers.

  • 810 lines out of the header (14,212 → 13,402)
  • Multiset reconciliation clean: 4 residuals, all signature transformations

Test plan

  • Clean rebuild
  • Full suite: 682/683 on the first run with one failure — test-compile-00-for-await, untouched by this change; it passes solo and in its 3-test group on re-run (first flake observed in nine full-suite runs, likely transient under -j8 load)
  • Multiset reconciliation: zero body lines lost

🤖 Generated with Claude Code

…view doc 1)

12 methods (EnumDeclaration, interface info/heritage/declaration,
field/method members, generic interface registration, object interface
vtables, method-name helpers) move from MLIRGenImpl.h into a new
MLIRGenInterfaces.cpp TU; header keeps declarations. 810 lines out of
the header (14212 -> 13402).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ASDAlexander77 ASDAlexander77 merged commit 9e3bb52 into main Jul 13, 2026
2 checks passed
@ASDAlexander77 ASDAlexander77 deleted the refactor/split-interfaces-enums branch July 13, 2026 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant